@model DateTime
<input asp-for="@Model" class="form-control" type="datetime-local" />